package com.main.accountpermissionsmanagement.interfaces.dto;

import com.main.common.base.base.dto.BaseDTO;
import com.main.common.enums.LoginStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description = "账户数据")
@EqualsAndHashCode(callSuper = true)
@Data
public class AccountDTO extends BaseDTO {
    @Schema(description = "姓名")
    private Long id;
    @Schema(description = "账号")
    private String number;
    @Schema(description = "用户名")
    private String username;
    @Schema(description = "密码")
    private String password;
    @Schema(description = "登录状态")
    private LoginStatus loginStatus;
    @Schema(description = "在线时长（单位：分钟）")
    private Integer onlineDuration;
    @Schema(description = "累计在线时长（单位：分钟）")
    private Integer totalOnlineDuration;
}
